package com.example.lte.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author lzh
 * @date 2020/10/22 - 14:46
 */
@Data
public class TimeReq {

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @NotNull(message = "startDate不能为空")
    private Date startDate;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @NotNull(message = "endDate 不能为空")
    private Date endDate;



}
